<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1 {
	width: 195px;
}

.select_width {
	width: 130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar2">基本信息</td>

	</tr>
	<tr>
		<td align="right" width="20%"><span class="color_red">*</span>项目名称：</td>
		<td colspan="3"><input id="zh_title" name="proposal/zh_title"
			label="项目名称" type="text" required
			class="input_css required maxlength:100" style="width: 725px;"
			maxlength="100"
			value="<x:out select="$xmlData/data/proposal/zh_title" />" /></td>
	</tr>
	
	<tr>
	<td align="right" width="20%"><span class="color_red">*</span>境外投资批准文件文号：</td>
	<td colspan="1" width="30%"><input name="proposal/file_no"  id=file_no   type="text" 
			class="input_css  required" label="境外投资批准文件文号" maxlength="100"
			value="<x:out select="$xmlData/data/proposal/file_no" />" /></td>
	<td align="right" width="20%"><span class="color_red">*</span>外汇登记证号：</td>
	<td colspan="1" width="30%"><input name="proposal/cert_no"    type="text" 
			class="input_css required"  label="外汇登记证号"  maxlength="100"
			value="<x:out select="$xmlData/data/proposal/cert_no" />" /></td>
	
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>并购后中方控股（%）：</td>
	<td colspan="1"><input name="proposal/china_holding"  id=china_holding   type="text" 
			class="input_css required" style="text-align: right" label="并购后中方控股"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/proposal/china_holding" />" /></td>
	<td align="right"><span class="color_red">*</span>并购后外方控股（%）：</td>
	<td colspan="1"><input name="proposal/foreign_holding"  id="foreign_holding"   type="text" 
			class="input_css required" style="text-align: right" label="并购后外方控股"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/proposal/foreign_holding" />" /></td>
	
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>并购合同总额（万美元）：</td>
	<td colspan="1"><input name="proposal/contract_budget"  id=actual_budget   type="text" 
			class="input_css required" style="text-align: right" label="并购合同总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/contract_budget" />" /></td>
	<td align="right"><span class="color_red">*</span>并购合同签订日期：</td>
	<td colspan="1"><c:set var="contract_date">
				<x:out select="$xmlData/data/proposal/contract_date" />
			</c:set> <cpt:date id="contract_date" name="proposal/contract_date"
				value="${contract_date}" className=" required date" label="并购合同签订日期"></cpt:date>
		</td>
	
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>实际投资额（万美元）：</td>
	<td colspan="1"><input name="proposal/actual_budget"  id=actual_budget   type="text" 
			class="input_css required" style="text-align: right" label="实际投资额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/actual_budget" />" /></td>
	<td align="right"><span class="color_red">*</span>中方实际投资额（万美元）：</td>
	<td colspan="1"><input name="proposal/china_actual_budget"  id="china_actual_budget"   type="text" 
			class="input_css required" style="text-align: right" label="中方实际投资额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/china_actual_budget" />" /></td>
	
	</tr>
	 <tr>
		<td align="right" nowrap><span class="color_red">*</span>约定付款完成日期：</td>
		<td colspan="1"><c:set var="finsh_date">
				<x:out select="$xmlData/data/proposal/finsh_date" />
			</c:set> <cpt:date id="finsh_date" name="proposal/finsh_date"
				value="${finsh_date}" className=" required date" label="约定付款完成日期"></cpt:date>
		</td>
         <td align="right" nowrap><span class="color_red">*</span>约定产权交割日期：</td>
		<td colspan="1"><c:set var="delivery_date">
				<x:out select="$xmlData/data/proposal/delivery_date" />
			</c:set> <cpt:date id="delivery_date" name="proposal/delivery_date"
				value="${delivery_date}" className=" required date" label="约定产权交割日期"></cpt:date>
		</td>
	</tr>
	
	
	<tr>
	<td align="right"><span class="color_red">*</span>出口总额（万美元）：</td>
	<td colspan="1"><input name="proposal/export_budget"  id="export_budget"   type="text" 
			class="input_css required" style="text-align: right" label="出口总额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/export_budget" />" /></td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td colspan="1"><input name="proposal/export_budget_pre"  id="export_budget_pre"   type="text" 
			class="input_css required" style="text-align: right" label="出口总额->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/export_budget_pre" />" /></td>
	
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>自营出口金额（万美元）：</td>
	<td colspan="1"><input name="proposal/self_export_budget"     type="text" 
			class="input_css required" style="text-align: right" label="自营出口金额"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/self_export_budget" />" /></td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td colspan="1"><input name="proposal/self_export_budget_pre"    type="text" 
			class="input_css required" style="text-align: right" label="自营出口金额->同比增幅"
			onfocus="InitInput.setNumber(this,9,2,2,null,true)"
			value="<x:out select="$xmlData/data/proposal/self_export_budget_pre" />" /></td>
	
	</tr>
	
	
	
		<tr>
		<td align="right" nowrap><span class="color_red">*</span>并购内容：</td>
		<td colspan="3"><c:set var="merger_content">
				<x:out select="$xmlData/data/proposal/merger_content_value" />
			</c:set> <cpt:select id="merger_content" key="merger_content" onChange="mergerContent(this.value)" className="select_width"
				value="${merger_content}"></cpt:select> <input type="hidden"
			id="merger_content_value" name="proposal/merger_content_value" class="required"
			value="${merger_content}" label="并购内容"> <input type="hidden"
			name="proposal/merger_content_name"
			value="<x:out select="$xmlData/data/proposal/merger_content_name" />">
		</td>

	</tr>

     <tr>
		<td align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="3"><c:set var="submit_date">
				<x:out select="$xmlData/data/proposal/submit_date" />
			</c:set> <cpt:date id="submit_date" name="proposal/submit_date"
				value="${submit_date}" className=" required date" label="申报日期"></cpt:date>
		</td>

	</tr>
</table>
<div class="t_bar" id="mergerContent">已并购项目基本情况</div>
<table class="t_css" width="100%" border="0" cellpadding="0" id="merger_content1" cellspacing="1">
<tr >
   <td align="left" colspan="4"><strong>已并购国际知名品牌企业情况</td>
 </tr>
<tr >
<td align="right" width="20%"><span class="color_red">*</span>品牌名称：</td>
<td width="30%"><input  name="merger/zh_title_1"
			label="品牌名称" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/zh_title_1" />" /></td>
<td align="right" nowrap width="20%"><span class="color_red">*</span>设立时间：</td>
<td width="30%"><c:set var="set_date_1">
				<x:out select="$xmlData/data/merger/set_date_1" />
			</c:set> <cpt:date id="set_date_1" name="merger/set_date_1"
				value="${set_date_1}" className=" required date" label="设立时间"></cpt:date>
</td>
</tr>
<tr>
<td align="right"><span class="color_red">*</span>品牌价值（万美元）：</td>
<td colspan="1"><input name="merger/project_valuation_1"     type="text" 
			class="input_css required" style="text-align: right" label="品牌价值"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/merger/project_valuation_1" />" /></td>
<td align="right"><span class="color_red">*</span>评估机构：</td>
<td colspan="1"><input  name="merger/rating_agencies_1"
			label="评估机构" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/rating_agencies_1" />" /></td>
</tr>


<tr>
		<td align="right" nowrap><span class="color_red">*</span>所在区域：</td>
		<td colspan="3"><c:set var="location_area_1">
				<x:out select="$xmlData/data/merger/location_area_1_value" />
			</c:set> <cpt:select id="location_area_1" key="location_area" onChange="locationArea(this.id,this.value)" className="select_width"
				value="${location_area_1}"></cpt:select> <input type="hidden"
			id="location_area_1_value" name="merger/location_area_1_value" class="required"
			value="${location_area_1}" label="所在区域"> <input type="hidden"
			name="merger/location_area_1_name"
			value="<x:out select="$xmlData/data/merger/location_area_1_name" />">
			<input style="display:none" id="location_area_1_other" maxlength="100"  label="所在区域选择其他时，其他说明"
			name="merger/location_area_1_other" value="<x:out select="$xmlData/data/merger/location_area_1_other" />">
		</td>

	</tr>
 <tr >
<td align="right"><span class="color_red">*</span>品牌入选排名情况<br/>（请具体表述）：</td>
<td colspan="3"><input  name="merger/product_name_1" style="width: 725px;"
			label="品牌入选排名情况" type="text"  class="input_css required " maxlength="200"
			value="<x:out select="$xmlData/data/merger/product_name_1" />" /></td>
</tr>

<tr>
		<td align="right"  width="20%"><span class="color_red">*</span>备注：</td>
		 <td colspan="3"><input type="text"  name="merger/merger_summary_1" style="width: 725px;"  class="input_css required"  label="备注" maxlengt="100" value="<x:out select="$xmlData/data/merger/merger_summary_1" />"></td>
		</tr>
</table>


<table class="t_css" width="100%" border="0" cellpadding="0" id="merger_content2" cellspacing="1">
<tr >
   <td align="left" colspan="6"><strong>已并购境外研发机构与高新技术企业情况</td>
 </tr>
<tr >
<td align="right" ><span class="color_red">*</span>机构或企业名称：</td>
<td ><input  name="merger/zh_title_2"
			label="机构或企业名称" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/zh_title_2" />" /></td>
<td align="right" nowrap ><span class="color_red">*</span>设立时间：</td>
<td nowrap><c:set var="set_date_2">
				<x:out select="$xmlData/data/merger/set_date_2" />
			</c:set> <cpt:date id="set_date_2" name="merger/set_date_2"
				value="${set_date_2}" className=" required date" label="设立时间"></cpt:date>
</td>
<td align="right" ><span class="color_red">*</span>国家认证级别：</td>
<td ><input  name="merger/country_level_2"
			label="国家认证级别" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/country_level_2" />" /></td>
</tr>
<tr>
<td align="right" nowrap><span class="color_red">*</span>经营场所面积（㎡）：</td>
<td colspan="1"><input name="merger/business_area_2"     type="text" 
			class="input_css required" style="text-align: right" label="经营场所面积"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/merger/business_area_2" />" /></td>
<td align="right" nowrap><span class="color_red">*</span>研发设备价值（万元）：</td>
<td colspan="1"><input name="merger/project_valuation_2"     type="text" 
			class="input_css required" style="text-align: right" label="研发设备价值"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/merger/project_valuation_2" />" /></td>
<td align="right" nowrap><span class="color_red">*</span>年服务收入（万元）：</td>
<td ><input  name="merger/sale_budget_2" onfocus="InitInput.setNumber(this,9,4,2)" 
            style="text-align: right" label="年服务收入" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/sale_budget_2" />" /></td>
</tr>

<tr>
		<td align="right" nowrap><span class="color_red">*</span>所在区域：</td>
		<td colspan="5"><c:set var="location_area_2">
				<x:out select="$xmlData/data/merger/location_area_2_value" />
			</c:set> <cpt:select id="location_area_2" key="location_area" onChange="locationArea(this.id,this.value)" className="select_width"
				value="${location_area_2}"></cpt:select> <input type="hidden"
			id="location_area_2_value" name="merger/location_area_2_value" class="required"
			value="${location_area_2}" label="所在区域"> <input type="hidden"
			name="merger/location_area_2_name"
			value="<x:out select="$xmlData/data/merger/location_area_2_name" />">
			<input style="display:none" id="location_area_2_other" maxlength="100" label="所在区域选择其他时，其他说明"
			name="merger/location_area_2_other" value="<x:out select="$xmlData/data/merger/location_area_2_other" />">
		</td>

</tr>
 <tr >
<td align="right"><span class="color_red">*</span>地址：</td>
<td colspan="5"><input  name="merger/address_2" style="width: 725px;"
			label="地址" type="text"  class="input_css required " maxlength="200"
			value="<x:out select="$xmlData/data/merger/address_2" />" /></td>
</tr>
<tr>
		<td align="right" nowrap><span class="color_red">*</span>研发机构性质：</td>
		<td colspan="5"><c:set var="organization_type">
				<x:out select="$xmlData/data/merger/organization_type_value" />
			</c:set> <cpt:select id="organization_type" key="organization_type"  onChange="locationArea(this.id,this.value)" className="select_width"
				value="${organization_type}"></cpt:select> <input type="hidden"
			id="organization_type_value" name="merger/organization_type_value" class="required"
			value="${organization_type}" label="研发机构性质"> <input type="hidden"
			name="merger/organization_type_name"
			value="<x:out select="$xmlData/data/merger/organization_type_name" />">
			<span style="display:none" id="organization_type_other_span">机构原属母公司名称：</span>
			<input style="display:none" id="organization_type_other" maxlength="100" label="研发机构性质选择内设机构时，机构原属母公司名称"
			name="merger/organization_type_other" value="<x:out select="$xmlData/data/merger/organization_type_other" />">
		</td>

</tr>
<tr>
		<td align="right" nowrap><span class="color_red">*</span>研发机构类别：</td>
		<td colspan="5">
		
		<c:set var="organization_category_other"><x:out select="$xmlData/data/merger/organization_category_other" /></c:set>
		<c:set var="organization_category"><x:out select="$xmlData/data/merger/organization_category_value" /></c:set>
			<cpt:checkbox key="organization_cate" name="organization_category" repeatColumn="6" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden" id="organization_category_value" name="merger/organization_category_value" class="required" value="${organization_category}" label="研发机构类别">
			<input type="hidden" name="merger/organization_category_name" value="<x:out select="$xmlData/data/merger/organization_category_name" />">
		
		</td>

</tr>
<tr>
<td align="right"><span class="color_red">*</span>人员总数：</td>
<td colspan="2"><input name="merger/total_people_2"  id="total_people_2"   type="text" 
			class="input_css required valueGreatEqual:total_people_2:visiting_people_2" style="text-align: right" label="人员总数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/total_people_2" />" /></td>
<td align="right"><span class="color_red">*</span>其中客座人员数：</td>
<td colspan="2"><input  name="merger/visiting_people_2" id="visiting_people_2" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中客座人员数" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/visiting_people_2" />" /></td>
</tr> 

<tr>
<td align="right" nowrap><span class="color_red">*</span>其中本科以上学历人数：</td>
<td colspan="2"><input name="merger/undergraduate_people_2"  id="undergraduate_people_2"   type="text" 
			class="input_css required valueGreatEqual:total_people_2:undergraduate_people_2" style="text-align: right" label="其中本科以上学历人数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/undergraduate_people_2" />" /></td>
<td align="right" nowrap><span class="color_red">*</span>其中博士以上学历人数：</td>
<td colspan="2"><input  name="merger/doctor_people_2" id="doctor_people_2" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中博士以上学历人数" type="text"  
            class="input_css required  valueGreatEqual:total_people_2:doctor_people_2" 
			value="<x:out select="$xmlData/data/merger/doctor_people_2" />" /></td>
</tr> 
<tr>
		<td align="right"  width="20%"><span class="color_red">*</span>备注：</td>
		 <td colspan="5"><input type="text"  name="merger/merger_summary_2"  style="width: 725px;" class="input_css required"  label="备注" maxlengt="100" value="<x:out select="$xmlData/data/merger/merger_summary_2" />"></td>
		</tr>
</table>

<table class="t_css" width="100%" border="0" cellpadding="0" id="merger_content2_1" cellspacing="1">
<tr >
   <td align="center" ><strong>拥有知识产权情况</td>
 </tr>
</table>
<table id="tblServiceContents" cellpadding="0" class="table01" width="100%"
	border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
	<thead>
		<tr style="border: 1px solid #B7D1E6">
			<th class="TblHead" align="center" width="5%">选择</th>
			<th class="TblHead" align="center" width="5%">序号</th>
			<th class="TblHead" align="center" width="20%">拥有核心技术</th>
			<th class="TblHead" align="center" width="20%">主要应用领域</th>
			<th class="TblHead" align="center" width="20%">专利号</th>
			<th class="TblHead" align="center" width="10%">所有权人</th>
			<th class="TblHead" align="center" width="10%">专利年限</th>
			<th class="TblHead" align="center" width="10%">产业化时间</th>
			
			
		</tr>
	</thead>
	<tbody id="tab">
		<tr style="display: none">
			<td align="center"><input type="radio" class="radiobutton" name="selServiceContents">
			</td>
			<td align="center"><span name="servicecontents|servicecontent[0]@seq_no">[index]</span>
			</td>
			<td style="text-align: center;"><input type="text" style="width:80%"
				name="servicecontents|servicecontent[0]|cert_category" class="input_text required"
				maxlength=100 label="拥有核心技术" value="" />
			</td>
			<td style="text-align: center;"><input type="text" style="width:80%"
				name="servicecontents|servicecontent[0]|cert_level" class="input_text required"
				maxlength=100 label="主要应用领域" value="" />
			</td>
			<td style="text-align: center;"><input type="text" style="width:80%"
width: 725px;"servicecontents|servicecontent[0]|patent_no" class="input_text required"
				maxlength=100 label="专利号" value="" />
			</td>
			<td style="text-align: center;"><input type="text" style="width:80%"
				name="servicecontents|servicecontent[0]|patent_people" class="input_text required"
				maxlength=100 label="所有权人" value="" />
			</td>
			<td style="text-align: center;"><input type="text" style="width:80%"
				name="servicecontents|servicecontent[0]|patent_term" class="input_text required"
				maxlength=100 label="专利年限" value="" />
			</td>
			<td align="center" nowrap><input  id="servicecontent_start_date_[0]" name="servicecontents|servicecontent[0]|start_date" label="产业化时间" value="" class=" required input_text date " style="width:55px" /></td>
			
		</tr>


		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/servicecontents/servicecontent" var="servicecontent">

			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><input type="radio" class="radiobutton"
					name="selServiceContents">
				</td>
				<td align="center"><span
					name="servicecontents/servicecontent[${flag}${index}]@seq_no">${index+1}</span></td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="servicecontents/servicecontent[${flag}${index}]/cert_category"
					class="input_text required" maxlength=100 label="拥有核心技术"
					value="<x:out select="$servicecontent/cert_category" />" />
				</td>
				
			<td style="text-align: center;"><input type="text" style="width:80%"
					name="servicecontents/servicecontent[${flag}${index}]/cert_level"
					class="input_text required" maxlength=100 label="主要应用领域"
					value="<x:out select="$servicecontent/cert_level" />" />
				</td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="servicecontents/servicecontent[${flag}${index}]/patent_no"
					class="input_text required" maxlength=100 label="专利号"
					value="<x:out select="$servicecontent/patent_no" />" />
				</td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="servicecontents/servicecontent[${flag}${index}]/patent_people"
					class="input_text required" maxlength=100 label="所有权人"
					value="<x:out select="$servicecontent/patent_people" />" />
				</td>
				<td style="text-align: center;"><input type="text" style="width:80%"
					name="servicecontents/servicecontent[${flag}${index}]/patent_term"
					class="input_text required" maxlength=100 label="专利年限"
					value="<x:out select="$servicecontent/patent_term" />" />
				</td>
				<td align="center" nowrap><c:set var="start_date" scope="page"><x:out select="$servicecontent/start_date"/></c:set>
				<input  id="servicecontent_start_date_[${flag}${index}]" value="${start_date}" name="servicecontents/servicecontent[${flag}${index}]/start_date" class="required date input_text" style="width:55px" label="通过认证时间" /> 
				</td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
		<script type="text/javascript">
						showAllDateTag("tblServiceContents");
		</script>
	</tbody>
</table>
<table width="98%" align="center" id="merger_content2_3">
	<tr>
		<td><input class="button" name="cmdAddbefore" type=button
			value="添加"
			onclick="addNewRow('tblServiceContents');showDateTag('tblServiceContents');try{top.resizeFrame();}catch(e){};">
			<input class="button" name="cmdMovePrev"
			type=button value="上移"
			onclick="movePrev('tblServiceContents','selServiceContents')"> <input
			class="button" name="cmdMoveNext" type=button value="下移"
			onclick="moveNext('tblServiceContents','selServiceContents')"> <input
			class="button" name="cmddel" type=button value="删除"
			onclick="deleteSelectedRow('tblServiceContents','拥有知识产权情况')"></td>
	</tr>
</table>

<table class="t_css" width="100%" border="0" cellpadding="0" id="merger_content3" cellspacing="1">
<tr >
   <td align="left" colspan="4"><strong>已并购境外生产加工项目与资源开发项目情况</td>
 </tr>
<tr >
<td align="right" width="20%"><span class="color_red">*</span>并购项目名称：</td>
<td width="30%"><input  name="merger/zh_title_3"
			label="并购项目名称" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/zh_title_3" />" /></td>
<td align="right" nowrap width="20%"><span class="color_red">*</span>设立时间：</td>
<td width="30%"><c:set var="set_date_3">
				<x:out select="$xmlData/data/merger/set_date_3" />
			</c:set> <cpt:date id="set_date_3" name="merger/set_date_3"
				value="${set_date_3}" className=" required date" label="设立时间"></cpt:date>
</td>
</tr>
<tr>
<td align="right"><span class="color_red">*</span>项目估值（万美元）：</td>
<td colspan="1"><input name="merger/project_valuation_3"     type="text" 
			class="input_css required" style="text-align: right" label="项目估值"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/merger/project_valuation_3" />" /></td>
<td align="right"><span class="color_red">*</span>评估机构：</td>
<td colspan="1"><input  name="merger/rating_agencies_3"
			label="评估机构" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/rating_agencies_3" />" /></td>
</tr>
 <tr >
<td align="right"><span class="color_red">*</span>主要产品或资源名称：</td>
<td colspan="3"><input  name="merger/product_name_3" style="width: 725px;"
			label="主要产品或资源名称" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/product_name_3" />" /></td>
</tr>

<tr>
<td align="right"><span class="color_red">*</span>经营场所面积（㎡）：</td>
<td colspan="1"><input name="merger/business_area_3"     type="text" 
			class="input_css required" style="text-align: right" label="经营场所面积"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/merger/business_area_3" />" /></td>
<td align="right"><span class="color_red">*</span>年销售收入（万元）：</td>
<td ><input  name="merger/sale_budget_3" onfocus="InitInput.setNumber(this,9,4,2)" 
            style="text-align: right" label="年销售收入" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/sale_budget_3" />" /></td>
</tr> 

<tr>
		<td align="right" nowrap><span class="color_red">*</span>所在区域：</td>
		<td colspan="3"><c:set var="location_area_3">
				<x:out select="$xmlData/data/merger/location_area_3_value" />
			</c:set> <cpt:select id="location_area_3" key="location_area" className="select_width" onChange="locationArea(this.id,this.value)"
				value="${location_area_3}"></cpt:select> <input type="hidden"
			id="location_area_3_value" name="merger/location_area_3_value" class="required"
			value="${location_area_3}" label="所在区域"> <input type="hidden"
			name="merger/location_area_3_name"
			value="<x:out select="$xmlData/data/merger/location_area_3_name" />">
			<input style="display:none" id="location_area_3_other" maxlength="100" label="所在区域选择其他时，其他说明"
			name="merger/location_area_3_other" value="<x:out select="$xmlData/data/merger/location_area_3_other" />">
		</td>

	</tr>
 <tr >
<td align="right"><span class="color_red">*</span>地址：</td>
<td colspan="3"><input  name="merger/address_3" style="width: 725px;"
			label="地址" type="text"  class="input_css required " maxlength="200"
			value="<x:out select="$xmlData/data/merger/address_3" />" /></td>
</tr>

<tr>
<td align="right"><span class="color_red">*</span>人员总数：</td>
<td colspan="1"><input name="merger/total_people_3"  id="total_people_3"   type="text" 
			class="input_css required valueGreatEqual:total_people_3:visiting_people_3" style="text-align: right" label="人员总数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/total_people_3" />" /></td>
<td align="right"><span class="color_red">*</span>其中客座人员数：</td>
<td ><input  name="merger/visiting_people_3" id="visiting_people_3" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中客座人员数" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/visiting_people_3" />" /></td>
</tr> 

<tr>
<td align="right"><span class="color_red">*</span>其中本科以上学历人数：</td>
<td colspan="1"><input name="merger/undergraduate_people_3"  id="undergraduate_people_3"   type="text" 
			class="input_css required valueGreatEqual:total_people_3:undergraduate_people_3" style="text-align: right" label="其中本科以上学历人数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/undergraduate_people_3" />" /></td>
<td align="right"><span class="color_red">*</span>其中博士以上学历人数：</td>
<td ><input  name="merger/doctor_people_3" id="doctor_people_3" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中博士以上学历人数" type="text"  
            class="input_css required  valueGreatEqual:total_people_3:doctor_people_3" 
			value="<x:out select="$xmlData/data/merger/doctor_people_3" />" /></td>
</tr> 
<tr>
		<td align="right"  width="20%"><span class="color_red">*</span>备注：</td>
		 <td colspan="5"><input type="text"  name="merger/merger_summary_3"  style="width: 725px;" class="input_css required"  label="备注" maxlengt="100" value="<x:out select="$xmlData/data/merger/merger_summary_3" />"></td>
		</tr>
</table>


<table class="t_css" width="100%" border="0" cellpadding="0" id="merger_content4" cellspacing="1">
<tr >
   <td align="left" colspan="4"><strong>已并购境外营销及售后服务网络情况</td>
 </tr>
<tr >
<td align="right" width="20%"><span class="color_red">*</span>项目名称：</td>
<td width="30%"><input  name="merger/zh_title_4"
			label="项目名称" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/zh_title_4" />" /></td>
<td align="right" nowrap width="20%"><span class="color_red">*</span>设立时间：</td>
<td width="30%"><c:set var="set_date_4">
				<x:out select="$xmlData/data/merger/set_date_4" />
			</c:set> <cpt:date id="set_date_4" name="merger/set_date_4"
				value="${set_date_4}" className=" required date" label="设立时间"></cpt:date>
</td>
</tr>
<tr>
<td align="right"><span class="color_red">*</span>项目估值（万美元）：</td>
<td colspan="1"><input name="merger/project_valuation_4"     type="text" 
			class="input_css required" style="text-align: right" label="项目估值"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/merger/project_valuation_4" />" /></td>
<td align="right"><span class="color_red">*</span>评估机构：</td>
<td colspan="1"><input  name="merger/rating_agencies_4"
			label="评估机构" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/rating_agencies_4" />" /></td>
</tr>
 <tr >
<td align="right"><span class="color_red">*</span>营销及售后服务网络辐射国别/<br/>地区（以分号隔开）：</td>
<td colspan="3"><input  name="merger/product_name_4" style="width: 725px;"
			label="营销及售后服务网络辐射国别/地区" type="text"  class="input_css required " maxlength="100"
			value="<x:out select="$xmlData/data/merger/product_name_4" />" /></td>
</tr>

<tr>
<td align="right"><span class="color_red">*</span>经营场所面积（㎡）：</td>
<td colspan="1"><input name="merger/business_area_4"     type="text" 
			class="input_css required" style="text-align: right" label="经营场所面积"
			onfocus="InitInput.setNumber(this,9,2,2)"
			value="<x:out select="$xmlData/data/merger/business_area_4" />" /></td>
<td align="right"><span class="color_red">*</span>年销售/服务收入（万元）：</td>
<td ><input  name="merger/sale_budget_4" onfocus="InitInput.setNumber(this,9,4,2)" 
            style="text-align: right" label="年销售/服务收入" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/sale_budget_4" />" /></td>
</tr> 

<tr>
		<td align="right" nowrap><span class="color_red">*</span>所在区域：</td>
		<td colspan="3"><c:set var="location_area_4">
				<x:out select="$xmlData/data/merger/location_area_4_value" />
			</c:set> <cpt:select id="location_area_4" key="location_area" className="select_width" onChange="locationArea(this.id,this.value)"
				value="${location_area}"></cpt:select> <input type="hidden"
			id="location_area_4_value" name="merger/location_area_4_value" class="required"
			value="${location_area}" label="所在区域"> <input type="hidden"
			name="merger/location_area_4_name"
			value="<x:out select="$xmlData/data/merger/location_area_4_name" />">
			
			<input style="display:none" id="location_area_4_other" maxlength="100" label="所在区域选择其他时，其他说明"
			name="merger/location_area_4_other" value="<x:out select="$xmlData/data/merger/location_area_4_other" />">
		</td>

	</tr>
 <tr >
<td align="right"><span class="color_red">*</span>地址：</td>
<td colspan="3"><input  name="merger/address_4" style="width: 725px;"
			label="地址" type="text"  class="input_css required " maxlength="200"
			value="<x:out select="$xmlData/data/merger/address_4" />" /></td>
</tr>

<tr>
<td align="right"><span class="color_red">*</span>人员总数：</td>
<td colspan="1"><input name="merger/total_people_4"  id="total_people_4"   type="text" 
			class="input_css  required valueGreatEqual:total_people_4:visiting_people_4" style="text-align: right" label="人员总数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/total_people_4" />" /></td>
<td align="right"><span class="color_red">*</span>其中客座人员数：</td>
<td ><input  name="merger/visiting_people_4" id="visiting_people_4" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中客座人员数" type="text"  class="input_css required " 
			value="<x:out select="$xmlData/data/merger/visiting_people_4" />" /></td>
</tr> 

<tr>
<td align="right"><span class="color_red">*</span>其中本科以上学历人数：</td>
<td colspan="1"><input name="merger/undergraduate_people_4"  id="undergraduate_people_4"   type="text" 
			class="input_css required valueGreatEqual:total_people_4:undergraduate_people_4" style="text-align: right" label="其中本科以上学历人数"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/undergraduate_people_4" />" /></td>
<td align="right"><span class="color_red">*</span>其中博士以上学历人数：</td>
<td ><input  name="merger/doctor_people_4" id="doctor_people_4" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中博士以上学历人数" type="text"  
            class="input_css required  valueGreatEqual:total_people_4:doctor_people_4" 
			value="<x:out select="$xmlData/data/merger/doctor_people_4" />" /></td>
</tr> 
<tr>
<td align="right"><span class="color_red">*</span>其中市场推广人员：</td>
<td colspan="1"><input name="merger/market_people_4"  id="market_people_4"   type="text" 
			class="input_css required valueGreatEqual:total_people_4:market_people_4" style="text-align: right" label="其中市场推广人员"
			onfocus="InitInput.setNumber(this,9,0,0)"
			value="<x:out select="$xmlData/data/merger/market_people_4" />" /></td>
<td align="right"><span class="color_red">*</span>其中售后服务人员：</td>
<td ><input  name="merger/sales_service_4" id="sales_service_4" onfocus="InitInput.setNumber(this,9,0,0)" 
            style="text-align: right" label="其中售后服务人员" type="text"  
            class="input_css required  valueGreatEqual:total_people_4:sales_service_4" 
			value="<x:out select="$xmlData/data/merger/sales_service_4" />" /></td>
</tr> 

<tr>
		<td align="right"  width="20%"><span class="color_red">*</span>备注：</td>
		 <td colspan="5"><input type="text"  name="merger/merger_summary_4"  style="width: 725px;" class="input_css required"  label="备注" maxlengt="100" value="<x:out select="$xmlData/data/merger/merger/merger_summary_4" />"></td>
		</tr>
</table>






<table class="t_css" width="100%" border="0" cellpadding="0"
	id="basicInfo6" cellspacing="1">

	<tr>
		<td colspan="6" class="t_bar2">申请项目资金情况资金情况（金额单位：万元）</td>

	</tr>
	<tr>
		<td align="right">项目类别：</td>
		<td><x:out select="$xmlData/data/proposal/grant_name" /></td>
		<td align="right">申请金额：</td>
		<td colspan="3"><input name="proposal/sqje" id="sqje"
			label="申请金额" type="text" 
			class="input_css  gray" disabled style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/sqje" />" /></td>

	</tr>
	<tr>
		<td align="right">项目计划投入总额：</td>
		<td colspan="1"><input name="proposal/investment_budget" id="investment_budget"
			 label="项目计划投入总额" type="text" class="input_css  gray" disabled
			style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/investment_budget" />" /></td>
		<td align="right">上年度已完成投资：</td>
		<td colspan="3"><input name="proposal/finsh_budget" id="finsh_budget"
			 label="上年度已完成投资" type="text" 
			class="input_css  gray"  disabled style="text-align: right"
			onfocus="InitInput.setNumber(this,9,4,2)"
			value="<x:out select="$xmlData/data/proposal/finsh_budget" />" /></td>
	</tr>

	<tr>
		<td align="right">支持方式：</td>
		<td><span name="proposal/sponsor_category"><x:out
					select="$xmlData/data/proposal/sponsor_category" /></span></td>

		<td align="right">资金级次：</td>
		<td colspan="3"><span name="proposal/fund_level">市级</span></td>
	</tr>
	<tr>
		<td align="right" nowrap>归口管理部门：</td>
		<td><span name="proposal/org_name">无锡市商务局</span></td>
		<td align="right">管理类别：</td>
		<td colspan="3"><span name="proposal/manage_category"><x:out
					select="$xmlData/data/proposal/manage_category" /></span></td>

	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="6" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="申请项目资金情况->项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td class="t_bar2">申请资助依据条款</td>

	</tr>
	<tr>
		<td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span
			name="proposal/policy_foundation"><x:out
					select="$xmlData/data/proposal/policy_foundation" /></span>
		</td>
	</tr>
</table>
<br />



<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1" id="basicInfo5">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>

	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td>
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
		<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
		
		</tr>


</table>

<script type="text/javascript">
$(function(){
	mergerContent($("#merger_content_value").val());
	locationArea("location_area_1",$("#location_area_1_value").val());
	locationArea("location_area_2",$("#location_area_2_value").val());
	locationArea("organization_type",$("#organization_type_value").val());
	locationArea("location_area_3",$("#location_area_3_value").val());
	locationArea("location_area_4",$("#location_area_4_value").val());
	
	
	var chkLast = $("input[name='organization_category']:last");
	var chkTd = chkLast.parent("td");
	var chk_characteristic_table = chkTd.parent("tr").parent("tbody");
	chk_characteristic_table.parent("table").attr("border","0");
	var trLen = chk_characteristic_table.find("tr").length;
	var tdLen = chk_characteristic_table.find("td").length;
	var tdNum = parseInt(tdLen%trLen==0 ? tdLen/trLen : (tdLen/trLen+1));
	chkTd.append('&nbsp;<input type="text" style="display:none" class="required" maxlength="50" label="研发机构类别选择其他时，其他说明" id="organization_category_other" name="merger/organization_category_other" value="${organization_category_other}"/>');
	chkTd.attr("colspan", (1+tdNum));
	var chkOther = $("#organization_category_other");
	if ($.trim(chkTd.text())=="其他" && chkLast.attr("checked")=="checked") {
		chkOther.show();
	}
	chkOther.keyup(function(){
		setChkValues("organization_category");
	});
	
	regChkClickAction("organization_category");
	
	
});

/**
 * 给checkbox注册点击事件
 */
function setChkValues(chkName) {
	var str_value = "";
	var str_name = "";
	var text = "";
	$("input[name='"+chkName+"']:checked").each(function(){
		str_value += "，"+$(this).val();
		text = $.trim($(this).parent().text());
		if (text == "其他" && chkName == "organization_category") {
			if ($.trim($("#"+chkName+"_other").val()) != "")
				str_name += "，"+$("#"+chkName+"_other").val();
		} else if(text == "其他" && chkName == "organization_category"){
			if ($.trim($("#"+chkName+"_other").val()) != "")
				str_name += "，"+$("#"+chkName+"_other").val();
		}else {
			str_name += "，"+text;
		}
	});
	if (str_value.length > 0) {
		$("input[name$='"+chkName+"_value']").val(str_value.substring(1));
		$("input[name$='"+chkName+"_name']").val(str_name.substring(1));
	}
}

function regChkClickAction(chkName) {
	$("input[name='"+chkName+"']").click(function(){
		if (chkName == "organization_category" && $.trim($(this).parent("td").text()) == "其他") {
			if ($(this).attr("checked") == "checked") {
				$("#"+chkName+"_other").show();
			}
			else {
				$("#"+chkName+"_other").hide();
				$("#"+chkName+"_other").val("");
			}
		}
		if (chkName == "organization_category" && $.trim($(this).parent("td").text()) == "其他") {
			if ($(this).attr("checked") == "checked") {
				$("#"+chkName+"_other").show();
			}
			else {
				$("#"+chkName+"_other").hide();
				$("#"+chkName+"_other").val("");
			}
		}
		setChkValues(chkName);
	});
}





function mergerContent(val){
	$("#merger_content1").hide();
	$("#merger_content2").hide();
	$("#merger_content2_1").hide();
	$("#tblServiceContents").hide();
	$("#merger_content2_3").hide();
	$("#merger_content3").hide();
	$("#merger_content4").hide();
	$("#mergerContent").hide();
	
   if(val=="1"){
		$("#merger_content1").show();
		$("#mergerContent").show();
	}
   if(val=="2"||val=="3"){
	   $("#merger_content2").show();
		$("#merger_content2_1").show();
		$("#tblServiceContents").show();
		$("#merger_content2_3").show();
		$("#mergerContent").show();
	}
   if(val=="4"||val=="5"){
	   $("#merger_content3").show();
	   $("#mergerContent").show();
	}
   if(val=="6"){
	   $("#merger_content4").show();
	   $("#mergerContent").show();
	}
	
	
}


function locationArea(id,value){
    
	if(value=='99'){
		$("#"+id+"_other").show();
		$("#"+id+"_other_span").show();
		$("#"+id+"_other").addClass("required");
	}else{
		$("#"+id+"_other").hide();
		$("#"+id+"_other_span").hide();
		$("#"+id+"_other").val("");
		$("#"+id+"_other").removeClass("required");	
	}
	
}







</script>




